
def dec_to_bin(num):
  bits = []
  while num != 0:
    bits.append(num % 2)
    num //= 2
  
  bits.reverse()
  return "".join(str(bit) for bit in bits)

print(dec_to_bin(64))
